/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pinkybhabhiproblem;

import java.io.IOException;

/**
 *
 * @author nikhil
 */
public class PinkyBhabhiProblem {
   
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws IOException {
        int ropelength = 10;
        int clothes = 5;
        int[][] clothesVisible = {{0,4},{6,3},{1,5},{6,4},{7,2}};
        
        /*int ropelength = 10;
        int clothes=5;
        int[][] clothesVisible ={{0,5},{0,4},{5,2},{5,3},{5,4}} ;*/
        
        UserCodeMain.GetVisibleCount(ropelength, clothes, clothesVisible);
        System.out.println(UserCodeMain.output1);
       
    }
}
